package com.community.web.master.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@ApiModel(value = "账单带用户名视图对象", description = "")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChargeWithUserVo {
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "账单编号")
    private String chargeNo;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "账单名称")
    private String chargeName;

    @ApiModelProperty(value = "账单状态")
    private Integer chargeStatus;

    @ApiModelProperty(value = "账单总价")
    private Double totalPrice;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
